<%-- 
    Document   : project_update
    Created on : Nov 29, 2008, 5:41:55 PM
    Author     : JollkY
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
<table>
    <tr>
        <td class="menucon">
            <html:link action="/project_getprojects.do" title="Go to main.">Projects</html:link>
        </td>
    </tr>
</table>
<html:errors/>
<html:messages id="messages" property="message" message="true">
    <ul>
        <li><bean:write name="messages"/></li>
    </ul>
</html:messages>
<html:form method="POST" action="/project_update.do">
    <html:hidden property="id"/>
    <table>
        <tr>
            <td>Name</td>
            <td>:</td>
            <td><html:text property="nama"/></td>
        </tr>
        <tr>
            <td>Project Owner</td>
            <td>:</td>
            <td>
                <html:select property="namaOwner">
                <c:forEach items="${projectOwners}"  var="owner">
                    <html:option value="${owner.id}">${owner.nama}</html:option>
                </c:forEach>
                </html:select>
            </td>
        </tr>
        <tr>
            <td colspan="3"><html:submit value="Update Now"/></td>
        </tr>
    </table>
</html:form>
